Skip to content

Use pg background worker, get rid of CREATE EXTENSION for oracle - #74

Merged
serprex merged 3 commits into
mainfrom
be-modular
Jul 31, 2026
Merged

Use pg background worker, get rid of CREATE EXTENSION for oracle#74
serprex merged 3 commits into
mainfrom
be-modular

Conversation

@serprex

@serprex serprex commented Jul 28, 2026

Copy link
Copy Markdown
Member

This removes need to run CREATE EXTENSION on primary

understand ddl inside transaction, allowing more mixed DDL/DML transactions to decode safely,
while preserving abort & savepoint, falling back to existing conservative behavior whenever exact history cannot be captured

Allows for

CREATE TABLE t (id bigint, value text);
INSERT INTO t VALUES (1, 'first');
ALTER TABLE t ADD COLUMN extra text;
INSERT INTO t VALUES (2, 'second', 'present');

@serprex
serprex requested a review from harshil-goel July 28, 2026 04:25
@serprex
serprex force-pushed the be-modular branch 2 times, most recently from a68adc2 to 7cf1602 Compare July 28, 2026 08:20
Comment thread pgext/worker.c Outdated
Comment thread pgext/worker.c Outdated
Comment thread pgext/worker.c Outdated
Base automatically changed from xact-r1 to main July 31, 2026 01:42
serprex added 2 commits July 31, 2026 01:45
This removes need to run CREATE EXTENSION on primary

Include infra for future improvements on transactional DDL handling
…ctions to decode safely,

while preserving abort & savepoint, falling back to existing conservative behavior whenever exact history cannot be captured

Allows for
```
CREATE TABLE t (id bigint, value text);
INSERT INTO t VALUES (1, 'first');
ALTER TABLE t ADD COLUMN extra text;
INSERT INTO t VALUES (2, 'second', 'present');
```
@serprex
serprex requested a review from harshil-goel July 31, 2026 02:33
@serprex
serprex merged commit 1f9802e into main Jul 31, 2026
5 checks passed
@serprex
serprex deleted the be-modular branch July 31, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants